﻿using System;

namespace enyo
{
    public class ProgressBar : Progress
    {
        /// <summary>
        /// Controls whether progress changes are animated.
        /// </summary>
        public bool AnimatePosition { get; set; }

        public EnyoEvent<Control> onBeginAnimation;
        public EnyoEvent<Control> onEndAnimation;

        /// <summary>
        /// Set position immediately to the given position, bypassing animation.
        /// </summary>
        /// <param name="position"></param>
        public void SetPositionImmediate(int position)
        {
        }
    }
}
